package com.digitalchina.dcn.dcss.web.dao;

import com.digitalchina.dcn.dcss.core.generic.GenericDao;
import com.digitalchina.dcn.dcss.web.model.Role;

import java.util.List;

public interface RoleMapper extends GenericDao<Role, Long> {

    int insert(Role record);

    int updateByPrimaryKey(Role record);

    List<Role> findAll();

    Role findByRoleName(String role);
}